<?php

class Semana extends MY_Model {


 
    function Semana()
    {
        // Call the Model constructor
        parent::MY_Model();
        
        $this->setTituloModificar("Modificar Semana");
		$this->setTituloListado("Listado Completo de Semanas");
		$this->setTituloCrear("Crear Semana");
		
		$this->nombreTabla = "semana";
		$this->idT1= "idsemana";
		$this->nombreCampo = "nrosemana";

		$this->campos[] = array("realname" => "nrosemana",
					"clase" => "text",
					"label" => "Nro Semana",
					"rules" => "required|integer");
		
		$this->campos[] = array("realname" => "fechadesde",
					"clase" => "date",
					"label" => "Fecha desde",
					"rules" => "fecha");

		$this->campos[] = array("realname" => "fechahasta",
					"clase" => "date",
					"label" => "Fecha hasta",
					"rules" => "fecha");
    }
     
 
    
    
}


?>
